package com.lee.boot.head.first.demo.redis.mapper;

import com.lee.boot.head.first.demo.redis.entity.Owner;

import org.apache.ibatis.annotations.Mapper;


import java.util.List;

@Mapper
public interface OwnerMapper {

    void insertOwner(Owner owner);

    Owner getOneByName(String name);

    List<Owner> listOwner();

    Owner getOwner(Long id);

    void deleteOwner(Long id);

}
